﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuShanTea.Service.Entities
{
    public class Good : BaseEntity
    {
        public string Name { get; set; }
        public float Price { get; set; }
        public float Pre_Price { get; set; }
        public float Weight { get; set; }
        public long TotalCount { get; set; }
        public long Selled { get; set; }
        public string Describe { get; set; }
       
        public long CateGoriesId { get; set; }
        public virtual Category Category { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public long CityId { get; set; }
        public virtual City City { get; set; }

        //public long GoodAttrsId { get; set; }
        //public virtual GoodAttr GoodAttr { get; set; }



        public virtual ICollection<Pack> Packs { get; set; } = new List<Pack>();
    }
}
